/**
 * Vuex 组合组件
 * @author 杨世峰
 */

import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import getters from './getters'
import administrator from './modules/administrator'
import booklet from './modules/booklet'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        user,
        administrator,
        booklet
    },
    getters
})

export default store